import request from '@/utils/request'
/**
 * 系统设置
 * @see {@link http://ps.jibachuan.com/platform/swagger-ui.html#!/setting-controller}
 */
const settingMod = '/setting'

/**
 * [get 获取系统设置信息]
 */
export function getSetting(data) {
    return request({
        url: `${settingMod}/get`,
        method: 'post',
        data
    })
}

/**
 * [update 更新系统设置]
 */
export function getSetting(data) {
    return request({
        url: `${settingMod}/update`,
        method: 'post',
        data
    })
}